<section>
	<div class="form-horizontal row">
		<div class="col-sm-6 col-sm-offset-2">
			<div class="form-group">
				<label class="col-sm-4 control-label">用户名</label>
				<div class="col-sm-8">
					<input id="username" v-model="userInfo.username" type="text" class="form-control">
					<span class="help-block m-b-none">不能为空，只能为数字和大小写</span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-4 control-label">密码</label>
				<div class="col-sm-8">
					<input id="password" v-model="userInfo.password" type="password" class="form-control" maxlength="16">
					<span class="help-block m-b-none">长度应在6到16位之间，只能为数字和大小写</span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-4 control-label">重复密码</label>
				<div class="col-sm-8">
					<input id="rPassword" v-model="rPassword" type="password" class="form-control" maxlength="16">
					<span class="help-block m-b-none">重复输入密码，确保已经记住了密码</span>
				</div>
			</div>
		</div>
	</div>
	<div class="text-center">
		<el-button @click="addUserInfo" size="small" icon="el-icon-check" type="primary">确认</el-button>
		<el-button @click="goHistory(-1)" size="small" icon="el-icon-close" type="info">取消</el-button>
	</div>
</section>